#pragma once
#include <Windows.h>
#include <sstream>
#include "Usefuls.h"
using namespace std;

class TextBox
{
protected:
	RECT				m_rLocation;
	stringstream		m_Text;

public:
	int iType;

	virtual bool Init();
	virtual bool Init(RECT a_pos);
	void ChangeText(char* newText);
	void AppendText(char* moreText);
	string getText() { return m_Text.str(); }
	const RECT  getRect() { return m_rLocation; }
};